package com.cookbook.service;

import com.cookbook.database.model.Cookbook;
import com.cookbook.database.model.History;
import com.cookbook.database.model.User;

import java.util.List;

/**
 * Created by 胡玉斌 on 2017/7/4.
 */
public interface HistoryService {
    List<History> select(Integer userid);
    void insert(Integer userid, Integer cookbookid);
    Long deleteSelfByHistoryId(Integer user, Integer cookbook);
}
